#ifndef __BLWIFI_H__
#define __BLWIFI_H__

//#define SUPPORT_DEBUG
#define RESET_WIFI_PIN    D1
#define LED_IO            D4

struct Settings 
{
  char auth_key[33];
  char ssid[128];
  char pswd[32];
  char topic[32];
};

extern Settings wifiSettings;

void Blwifi_InitWiFi();
void ClearWiFiInfo();
void Blwifi_Loop();
void ResetWifi();
#endif
